{literal}
	<script>
	$(function() {
		$( "#start" ).datepicker({
                        dateFormat: 'yy-mm-dd',
			defaultDate: "+1w",
			changeMonth: true,
			numberOfMonths: 3,
			onSelect: function( selectedDate ) {
				$( "#end" ).datepicker( "option", "minDate", selectedDate );
			}
		});
		$( "#end" ).datepicker({
                        dateFormat: 'yy-mm-dd',
			defaultDate: "+1w",
			changeMonth: true,
			numberOfMonths: 3,
			onSelect: function( selectedDate ) {
				$( "#start" ).datepicker( "option", "maxDate", selectedDate );
			}
		});
	});
	</script>
{/literal}
<form method="post">
<article class="module width_full">
    <header><h3>{#event#}</h3></header>
    <div class="module_content">
        <fieldset>
            <label>{#title#}</label>
            <input type="text" name="title" value="" >
        </fieldset>
        <fieldset style="width:49.2%; float:left; margin-right: 1%;">
            <label>{#start#}</label>
            <input type="text" id="start" name="beginn">
        </fieldset>
        <fieldset style="width:49.3%; float:left;">
            <label>{#end#}</label>
            <input type="text" id="end" name="end">
        </fieldset>
        <fieldset>
            <label>{#story#}</label>
            <textarea name="story" rows="10" style="width:97%;"></textarea>
        </fieldset>
		<div class="clear"></div>
    </div>
    <footer>
        <div class="submit_link">
            <input type="submit" value="{#submit#}" name="submit" class="alt_btn">
        </div>
    </footer>
</article>
</form>
<!-- Addet -->
<div class="modal" id="events">
        <h3>{#addet#}</h3>
		<p>{#success_addet#}</p>
</div>
